import { declareChildApplication, start } from 'single-spa'

declareChildApplication(
    // Name of our single-spa application
    'home',
    // loadingFunction
    () => import('./src/home/home.app.js'),
    // activityFunction
    () => location.pathname === "" ||
        location.pathname === "/" ||
        location.pathname.startsWith('/home')
);

start();
